/* remove padding and scrolling from elements that contain an Accordion OR a content-div */
.ui-layout-center ,    /* has content-div */
.ui-layout-west ,      /* has Accordion */
.ui-layout-east ,      /* has content-div ... */
.ui-layout-east .ui-layout-content 
{ 
    /* content-div has Accordion */
    padding: 0;
    overflow: hidden;
}

.ui-layout-center P.ui-layout-content 
{
    line-height:    1.4em;
    margin:            0; /* remove top/bottom margins from <P> used as content-div */
}

h3, h4 /* Headers & Footer */
{ 
    font-size:        1.1em;
    background:        #EEF;
    border:            1px solid #BBB;
    border-width:    0 0 1px;
    padding:        7px 10px;
    margin:            0;
}

.ui-layout-east h4 /* Footer in East-pane */
{ 
    font-size:        0.9em;
    font-weight:    normal;
    border-width:    1px 0 0;
}
    
.ui-layout-content 
{
    overflow:        auto;          /* add scrolling to content-divs (panel-wrappers) */
    border-top:      0 !important;  /* tab-buttons above this DIV already has a border-bottom */
}

/*
 *    TAB-THEME ADJUSTMENTS
 */
.ui-tabs-nav li 
{
    white-space:    nowrap;
}

.ui-tabs-nav li a 
{
    font-size:      1em !important;
    padding:        4px 1.5ex 3px !important;
}

.ui-tabs-panel 
{
    font-size:      1em !important;
    padding:        0 !important;
}
            
.ui-layout-pane-center 
{
    background:     #FFD; /* to make pane background stand-out */
    padding:        10px;
    overflow:       hidden;
}

.ui-layout-pane-center .ui-tabs-nav 
{
    /* remove rounded corners from bottom of 'tabs'*/
    -moz-border-radius-bottomleft:        0;
    -moz-border-radius-bottomright:        0;
    -webkit-border-bottom-left-radius:    0;
    -webkit-border-bottom-right-radius:    0;
}
      
.ui-layout-resizer /* all 'resizer-bars' */ 
{ 
    background: #DDD; 
} 

.ui-layout-toggler /* all 'toggler-buttons' */
{  
    background: #AAA; 
} 
    
        
.tab-panel 
{
    height: 100%;       /* IMPORTANT */
    border: 0;          /* NO top or bottom border */
    padding: 0 15px;    /* NO top or bottom padding */
    overflow: auto;
}

.tab-panel-with-inner-layout /* panel contains a layout, so no padding or scrolling */
{
    height: 100%;
    border: 0;
    padding: 0;
    overflow: hidden;
}

body
{ 
    font: 62.5% "Trebuchet MS", sans-serif; 
    margin: 50px;
}

.widgetHeaders 
{ 
    margin-top: 2em; 
}

#header
{
    position:absolute;
    top:2em;
    left:2em;
    margin-bottom:2em;
    margin-left:2em;
}
    
#main
{
    position:relative;
    top:2em;
    left:2em;
}

#left_pane
{
    float:left;
    position:absolute;
    top:2em;
    margin-left:2em;
    width:30em;
    min-width: 30em;
    max-width: 30em;
}

#right_pane
{
    float:left;
    position:absolute;
    top:2em;
    margin-left:34em;
    margin-right:2em;
    width:60%;
    min-width: 30em;
}

header
{
    width: 700px ;
    margin-left: auto ;
    margin-right: auto ;
}

.hidden
{
    display:none; 
}

input.jabber-input-field, button.jabber-input-field
{
    width: 100%;
    padding: 0;
    margin: 0;
}

.chat
{
    color: green;
}

.dnd
{
    color: red;
}

.away
{
    color: blue;
}

.xa , .offline
{
    color: black;
}

div#help
{
    margin: 2em;
}

.chat-message-myself
{
    color: blue;
}

.chat-message-other
{
    color: green;
}

.chat-message-other[delayed]
{
    color: black;
}
        
textarea.chat-input
{ 
     margin: 0px;
     padding: 0px;
     border-style: none;
     width: 100%;
     height: 100%;
     background: white;
     resize: none;
}

div.chat-messages
{ 
     margin: 0px;
     padding: 0px;
     border-style: none;
     width: 100%;
     height: 100%;
     overflow: scroll;
     background: white;
}

body > .ui-layout-center
{
    margin: 0px;
    padding: 0px;
    background: white;
}
    
#chat-input-header
{
     margin: 0px;
     padding: 0px;    
     background: gray;
}
    
.ui-tabs-nav
{
    margin: 0px;
    padding: 0px;
    background:yellow;
    color:black;
}    
    
#centerTabs , #tabPanels /* Tabs wrapper */
{ 
    border: 1px solid #BBB; 
    padding: 0;
    overflow: hidden;
}

div#roster-area > ul 
{
    list-style-type: none; 
}

div#roster-area
{
    width: 100%;
    margin-left: 0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
}

div#roster-area > ul
{
    border-top: 1px black solid; 
    width: 100%;
    margin-left: 0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
}

div#roster-area > ul li 
{
    border-bottom: 1px black solid; 
    width: 100%;
    margin-left: 0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
}

div#roster-area > ul li:hover 
{
    background: yellow; 
    cursor: pointer;
}

.download-section
{
    border: 1px black solid; 
    background:#EEEEEE;
    width: 100%;
    margin-left: 0;
    margin-right:0;
    margin-top:10px;
    padding-left:0;
    padding-right:0;	
}

.download-section p
{
    padding-left : 1em;
    padding-right : 1em; 
}

#tabButtons li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }
